package com.study.order.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

/**
 * @author yuanqj
 * @date 2021/01/27
 **/
@FeignClient(value = "product", fallback = OpenFeignFallbackService.class)
public interface OpenFeign {

    @GetMapping(value = "/echo/test")
    String productTest(@RequestParam(value = "a") String a);

}
